package com.syzg.common.service;

import com.syzg.common.util.SearchMap;
import com.syzg.core.exception.ServiceException;
import com.syzg.core.page.PageResult;
import java.io.Serializable;
import java.util.List;

public abstract interface BaseService<T>
{
  public abstract T findObjectById(Serializable paramSerializable)
    throws ServiceException;

  public abstract Object findObjectById(Serializable paramSerializable, Class<?> paramClass)
    throws ServiceException;

  public abstract void delete(Object paramObject)
    throws ServiceException;

  public abstract void delete(Serializable paramSerializable)
    throws ServiceException;

  public abstract void delete(Serializable paramSerializable, Class<?> paramClass)
    throws ServiceException;

  public abstract void delete(Serializable[] paramArrayOfSerializable)
    throws ServiceException;

  public abstract void delete(Serializable[] paramArrayOfSerializable, Class<?> paramClass)
    throws ServiceException;

  public abstract void update(Object paramObject)
    throws ServiceException;

  public abstract void create(Object paramObject)
    throws ServiceException;

  public abstract List findObjects(SearchMap paramSearchMap)
    throws ServiceException;

  public abstract long getCount(SearchMap paramSearchMap)
    throws ServiceException;

  public abstract boolean isExist(Serializable paramSerializable, String[] paramArrayOfString1, String[] paramArrayOfString2)
    throws ServiceException;

  public abstract boolean isExist(Serializable paramSerializable, String[] paramArrayOfString1, String[] paramArrayOfString2, Class<?> paramClass)
    throws ServiceException;

  public abstract PageResult findObjectsForPage(int paramInt1, int paramInt2, SearchMap paramSearchMap)
    throws ServiceException;
}